'Declaration
Public Overloads Overridable Function SaveToFileAsync( _ ByVal file As NFile, _ ByVal bounds As NRectangle, _ ByVal dpi As System.Double, _ ByVal encoderSettings As NImageEncoderSettings _ ) As NPromise(Of NUndefined)
'Usage
Dim instance As NContinuousMediaExporter(Of TContent) Dim file As NFile Dim bounds As NRectangle Dim dpi As System.Double Dim encoderSettings As NImageEncoderSettings Dim value As NPromise(Of NUndefined) value = instance.SaveToFileAsync(file, bounds, dpi, encoderSettings)
public virtual NPromise<NUndefined> SaveToFileAsync( NFile file, NRectangle bounds, System.double dpi, NImageEncoderSettings encoderSettings )
Parameters
- file
- The file to save to.
- bounds
- Bounding box of the area to be exported.
- dpi
- Resolution of the image.
- encoderSettings
- Image encoder settings. Can be null.